import defaultjson from './defaultValue'
let searchjson = [
  { label: '设备序列号', value: 'gtel' },
  { label: '名称', value: 'mc' },
  {
    label: '设备状态',
    value: 'gzt',
    type: 'select',
    option: [{ label: '全部', value: '' }, ...defaultjson.gzt],
  },
]
let tablejson = [
  { label: '设备序列号', value: 'gtel' },
  { label: '名称', value: 'mc' },
  {
    label: '设备状态',
    value: 'gzt',
    type: 'select',
    option: [{ label: '全部', value: '' }, ...defaultjson.gzt],
  },
]
let addjson = [
  { label: '设备序列号', value: 'gtel' },
  { label: '名称', value: 'mc' },
  { label: '备注', value: 'bz' },
]
let HDScreenSetaddjson = [
  { label: '设备序列号', value: 'gtel', type: 'button' },
  {
    label: '操作类型',
    value: 'lx',
    type: 'button',
    defaultValue: '配置视频和图片',
  },
  { label: '视频地址', value: 'video' },
  { label: '小图片地址', value: 'picx', type: 'img' },
  { label: '大图片1地址', value: 'pic1', type: 'img' },
  { label: '大图片2地址', value: 'pic2', type: 'img' },
  { label: '大图片3地址', value: 'pic3', type: 'img' },
  { label: '大图片4地址', value: 'pic4', type: 'img' },
  { label: '大图片5地址', value: 'pic5', type: 'img' },
]
// {mc:"gtel",tr:function (d) {
//   var tr="";
//   tr+=publicde.formxsfn(d['gtel'],"gtel");
//   tr+=publicde.formxsfn('配置视频和图片',"lx");
//   return tr;
// }},"video","picx","pic1","pic2","pic3","pic4","pic5"
export default {
  searchjson,
  tablejson,
  addjson,
  edtjson: addjson,
  HDScreenSetaddjson,
}
